package com.raptor.base.util;

public class ThreadLocalHolderContext {

    private static ThreadLocal<String> context = new ThreadLocal<String>();

    public static void setContext(String parameter) {
        if (parameter == null) {
            return;
        }
        context.set(parameter);
    }

    public static String getContext() {
        return context.get();
    }

    public static void removeContext(String parameter) {
        context.remove();
    }


}
